package com.inspur.edp.bff.spi.helpextend;

public class VmLinkedConfig {
    /**
     * 当前表单VO上的字段标签
     */
    private String sourceField;
    /**
     * 当前表单VO上字段所在的实体节点编号
     */
    private String sourceObjCode;
    /**
     * 当前选择帮助VO上的字段标签
     */
    private String targetField;
    /**
     * 当前选择帮助VO上字段所在的的实体节点编号
     */
    private String targetObjCode;

    /**
     * SourceField所在实体是否是子实体
     */
    private boolean sourceFieldInChild;
    /**
     * 所选帮助类型
     */
    private VmLinkedType linkHelpType = VmLinkedType.Normal;
    /**
     * 是否拼接帮助联动的条件
     */
    private boolean enableFilterWhenConditionEmpty;

    /**
     * 当前选择帮助VO元数据Id
     */
    private String targetVoId;
    /**
     * 帮助联动的树帮助是否分级码,该属性在所选帮助类型为VmLinkedType.Tree时使用
     */
    private boolean isPath;

    /**
     * 帮助VO上的树字段标签
     */
    private String treeField;

    public boolean isSourceFieldInChild() {
        return sourceFieldInChild;
    }

    public void setSourceFieldInChild(boolean sourceFieldInChild) {
        this.sourceFieldInChild = sourceFieldInChild;
    }

    public VmLinkedType getLinkHelpType() {
        return linkHelpType;
    }

    public void setLinkHelpType(VmLinkedType linkHelpType) {
        this.linkHelpType = linkHelpType;
    }

    public boolean isEnableFilterWhenConditionEmpty() {
        return enableFilterWhenConditionEmpty;
    }

    public void setEnableFilterWhenConditionEmpty(boolean enableFilterWhenConditionEmpty) {
        this.enableFilterWhenConditionEmpty = enableFilterWhenConditionEmpty;
    }

    public String getSourceField() {
        return sourceField;
    }

    public void setSourceField(String sourceField) {
        this.sourceField = sourceField;
    }

    public String getTargetField() {
        return targetField;
    }

    public void setTargetField(String targetField) {
        this.targetField = targetField;
    }

    public String getSourceObjCode() {
        return sourceObjCode;
    }

    public void setSourceObjCode(String sourceObjCode) {
        this.sourceObjCode = sourceObjCode;
    }

    public String getTargetObjCode() {
        return targetObjCode;
    }

    public void setTargetObjCode(String targetObjCode) {
        this.targetObjCode = targetObjCode;
    }

    public String getTargetVoId() {
        return targetVoId;
    }

    public void setTargetVoId(String targetVoId) {
        this.targetVoId = targetVoId;
    }

    public boolean isPath() {
        return isPath;
    }

    public void setPath(boolean path) {
        isPath = path;
    }

    public String getTreeField() {
        return treeField;
    }

    public void setTreeField(String treeField) {
        this.treeField = treeField;
    }
}
